<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>
        <%=VITE_APP_TITLE%>
    </title>
</head>

<body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <script src="https://connect.qq.com/qc_jssdk.js" data-appid="102015968" data-redirecturi="<%=VITE_APP_CALLBACK%>/login/callback"></script>
    <!-- 真机调试 使用 vite-plugin-html 解析模板，默认支持 ejs 模板引擎语法-->
    <% if(DEV){ %>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/eruda/2.4.1/eruda.min.js"></script>
        <script>
            eruda.init()
        </script>
        <% } %>

</body>

</html>